package com.sfzd5.exam.helplibrary.exam.answersheet;

public class ChoiceAnswerSheetQuestion extends AnswerSheetQuestion {
    public ChoiceAnswerSheetQuestion(){
        areaType = Area.AreaType.Choice;
    }
    public ChoiceAnswerSheetQuestion(AnswerSheetQuestion answerSheetQuestion)
    {
        this.id = answerSheetQuestion.id;
        this.areaType = answerSheetQuestion.areaType;
        this.infoJson = answerSheetQuestion.infoJson;
        this.questionId = answerSheetQuestion.questionId;
        this.answer = answerSheetQuestion.answer;
        this.score = answerSheetQuestion.score;
    }
    @Override
    public String toString() {
        return String.format("分值：%d；答案：%s", score, answer);
    }
}
